package com.lindom.pojo;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
//二级缓存，如果在xml配置时没带参数，则需要实现序列化接口
public class Blog implements Serializable {

    private String id;
    private String title;
    private String author;
    private Date createTime;
    private int views;
}
